﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BankSystem
{
    internal static class Bank
    {
        public static int numOfATM { get;set; }
        public static double badRate { get; set; }
        public static ATM[] atms;
        static Bank()
        {
            numOfATM = 3;
            atms = new ATM[numOfATM];  
            Random random = new Random();
            for(int i = 0; i < numOfATM; i++)
            {
                atms[i] = new ATM(random.Next(1000, 10000));
            }
            badRate = 0.3;
        }
    }
}
